INSERT INTO ue_v_CONUBIFRN 

 select distinct CUF.* from V_CONUBIFRN cuf,FATTURAS S,UE_V_FATTURAT T where 
T.TFAT_ID=S.TFAT_ID
AND S.CUF_ID= CUF.CUF_ID
AND S.AZ_ID=T.AZ_ID
and cuf.az_id=S.AZ_ID